import {  CHANGE_IPT,CHANGE_ITEM  } from './actionType'

export const changeIptAction = (val)=>({
    type:CHANGE_IPT,
    value:val
})
export const changeItemAction = (val)=>({
    type:CHANGE_ITEM,
    value:val
})
export const setListAction = ()=>{
    return (dispatch)=>{
        setTimeout(()=>{
            const action = changeItemAction(["123123","3asdasd"])
            dispatch(action)
        },2000)
    }
}